package cn.xiaoxiang.org.service.impl;

import cn.xiaoxiang.basic.service.impl.BaseServiceImpl;
import cn.xiaoxiang.org.domain.Detail;
import cn.xiaoxiang.org.domain.Employee;
import cn.xiaoxiang.org.mapper.DetailMapper;
import cn.xiaoxiang.org.mapper.EmployeeMapper;
import cn.xiaoxiang.org.service.DetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Service
@Transactional(readOnly = true,propagation = Propagation.SUPPORTS)
public class DetailServiceImpl extends BaseServiceImpl<Detail> implements DetailService {
    @Autowired
    private DetailMapper detailMapper;
    @Override
    public List<Detail> findde(Long id) {
        return detailMapper.findde(id);
    }
}
